package org.mzy.org.mapper;

import org.mzy.org.domain.Shop;
import org.mzy.basic.mapper.BaseMapper;
import org.mzy.org.vo.EchartVo;
import org.mzy.org.vo.ShopEchartsVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mzy
 * @since 2022-10-15
 */

public interface ShopMapper extends BaseMapper<Shop> {
    Shop findByName(String name);

    List<EchartVo> loadShopEchartsData();

    void batchAdd(List<Shop> shops);
}
